package easycloud.ecs.api;

import org.apache.commons.lang.builder.ToStringBuilder;

@SuppressWarnings("serial")
public class ProviderException extends Exception {

	private String object;

	private Exception e;

	public ProviderException(String arg) {
		super(arg);
	}

	public ProviderException(String arg, Exception e, String object) {
		super(arg);
		this.e = e;
		this.object = object;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
